package com.syni.mdd.sjb.common.datatreaure.feign.commonTool;

import com.syni.mdd.sjb.common.component.utils.feign.constants.Constants;
import com.syni.mdd.sjb.common.datatreaure.feign.commonTool.dto.UserBindWxDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.Map;

@FeignClient(value = Constants.SJB_COMMON_TOOL,path = Constants.SJB_COMMON_TOOL_PATH)
public interface CommonUserService {
    @PostMapping("/apiUser/appBindWx")
    Map<String,Object> appBindWx(@RequestHeader("token") String token,@RequestBody UserBindWxDto userBindWxDto);
}
